Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NPage Class / GetShapes Method / GetShapes(Boolean,INFilter<NShape>) Method
true if shapes belonging to groups must be included, false if only shapes belonging to the page must be included


In This Topic
    GetShapes(Boolean,INFilter<NShape>) Method
    In This Topic
    Gets all top level shapes contained in this page, that pass the specified filter.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetShapes( _
       ByVal includeGrouped As System.Boolean, _
       ByVal filter As INFilter(Of NShape) _
    ) As NList(Of NShape)
    'Usage
     
    
    Dim instance As NPage
    Dim includeGrouped As System.Boolean
    Dim filter As INFilter(Of NShape)
    Dim value As NList(Of NShape)
     
    value = instance.GetShapes(includeGrouped, filter)
    public NList<NShape> GetShapes( 
       System.bool includeGrouped,
       INFilter<NShape> filter
    )

    Parameters

    includeGrouped
    true if shapes belonging to groups must be included, false if only shapes belonging to the page must be included
    filter
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also